package com.eclink.asset.workflow.domain.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.eclink.asset.domain.dao.CommonEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
public class Flow extends CommonEntity {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("ID")
    private String id;

    // 名称
    private String name;

    // 工作流状态
    private int state;

    // 申请的时间
    private LocalDateTime applyTime;

    // 开始时间
    private LocalDateTime startTime;

    // 结束时间
    private LocalDateTime endTime;

    // 申请的ID
    private String applyId;

    // 申请编号
    private String applyNumber;

    // 申请类型
    private String applyType;

    // 当前任务ID
    private String currentTaskId;

}
